<% if RAILS_ENV == "production" %>
	<%# custom search %>
	
	  <script type="text/javascript" src="http://www.google.com/jsapi"></script>
	  <script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
	  <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=es"></script>
	  <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=es"></script>
	
	
	<%# analytics %>
	<script type="text/javascript">
		var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
		document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
	</script>
	
	<script type="text/javascript">
		try {
			var pageTracker = _gat._getTracker("UA-10187618-1");
			pageTracker._trackPageview();
		} catch(err) {}
	</script>
<% end %>
